/**
 * @author 0283000115
 * @date 2018年3月5日-上午11:46:49
 */
package com.zte.claa.inficombo.csa.app.dao.mysql.jdbcdao;

import java.sql.Timestamp;
import java.util.List;

/**
 * @author 0283000115
 *
 */
public class AppDataQueryPara {
	private List<String> devEUIs = null;
	private Timestamp beginTime = null;
	private Timestamp endTime = null;
	// 分页查询时从1开始。
	private int pageIndex = 1;
	private int batch = 5000;
	// 
	private String devType;
	private String projectId;
	// 分keyfield查询最新数据时需要.
	private String keyFieldName = "";
	
	public AppDataQueryPara(){
		
	}

	/**
	 * @return the devEUIs
	 */
	public List<String> getDevEUIs() {
		return devEUIs;
	}

	/**
	 * @param devEUIs the devEUIs to set
	 */
	public void setDevEUIs(List<String> devEUIs) {
		this.devEUIs = devEUIs;
	}

	/**
	 * @return the beginTime
	 */
	public Timestamp getBeginTime() {
		return beginTime;
	}

	/**
	 * @param beginTime the beginTime to set
	 */
	public void setBeginTime(Timestamp beginTime) {
		this.beginTime = beginTime;
	}

	/**
	 * @return the endTime
	 */
	public Timestamp getEndTime() {
		return endTime;
	}

	/**
	 * @param endTime the endTime to set
	 */
	public void setEndTime(Timestamp endTime) {
		this.endTime = endTime;
	}

	/**
	 * @return the pageIndex
	 */
	public int getPageIndex() {
		return pageIndex;
	}

	/**
	 * @param pageIndex the pageIndex to set
	 */
	public void setPageIndex(int pageIndex) {
		this.pageIndex = pageIndex;
	}

	/**
	 * @return the batch
	 */
	public int getBatch() {
		return batch;
	}

	/**
	 * @param batch the batch to set
	 */
	public void setBatch(int batch) {
		this.batch = batch;
	}

	public boolean isBatchQry(){
		return (this.pageIndex > 0);
	}

	/**
	 * @return the devType
	 */
	public String getDevType() {
		return devType;
	}

	/**
	 * @param devType the devType to set
	 */
	public void setDevType(String devType) {
		this.devType = devType;
	}

	/**
	 * @return the projectId
	 */
	public String getProjectId() {
		return projectId;
	}

	/**
	 * @param projectId the projectId to set
	 */
	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public String getKeyFieldName() {
		return keyFieldName;
	}

	public void setKeyFieldName(String keyFieldName) {
		this.keyFieldName = keyFieldName;
	}
	
}
